package com.xishu.entity.shop;

import com.xishu.annotation.dao.DefaultValue;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class RunModuleScene implements Serializable {
    private static final long serialVersionUID = 1737974888125827362L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "对应的名称")
    private String name;

    @ApiModelProperty(value = "付款优先")
    private Boolean payFirst;

    @ApiModelProperty(value = "线上付款开启")
    private Boolean onlinePay;

    @ApiModelProperty(value = "是否开启")
    private Boolean enable;

    @ApiModelProperty(value = "堂食")
    private Boolean tangshi;

    @ApiModelProperty(value = "外卖")
    private Boolean takeout;

    @ApiModelProperty(value = "后付款发送到厨房审核")
    @DefaultValue(defaultValue = "false")
    private Boolean sendToKitchenAuditPayAfter;

    @ApiModelProperty(value = "运营模式类型, 目前界面上没有二维码的，都是服务员操作，分类如下：" +
            "0是服务员餐桌二维码,B端控制主页上餐桌点单，(B端)" +
            "1是总二维码,C端的总二维码，可以区分堂食和外卖，（C端）" +
            "2是堂食点单(自助快餐)，用于B端判断主页是否显示，（B端）" +
            "3是餐桌二维码点单（餐桌上固定的二维码点单），" +
            "4是服务员出单二维码点单（拼桌二维码点单），" +
            "5是服务员外卖点单（控制B端主页外卖，以及餐桌列表外卖），" +
            "6是外卖平台点单")
    private Integer type;

    public Boolean getSendToKitchenAuditPayAfter() {
        return sendToKitchenAuditPayAfter;
    }

    public void setSendToKitchenAuditPayAfter(Boolean sendToKitchenAuditPayAfter) {
        this.sendToKitchenAuditPayAfter = sendToKitchenAuditPayAfter;
    }

    @ApiModelProperty(value = "总二维码堂食")
    private Boolean totalTangShiQr;

    @ApiModelProperty(value = "总二维码外卖")
    private Boolean totalTakeOutQr;

    public Boolean getTotalTangShiQr() {
        return totalTangShiQr;
    }

    public void setTotalTangShiQr(Boolean totalTangShiQr) {
        this.totalTangShiQr = totalTangShiQr;
    }

    public Boolean getTotalTakeOutQr() {
        return totalTakeOutQr;
    }

    public void setTotalTakeOutQr(Boolean totalTakeOutQr) {
        this.totalTakeOutQr = totalTakeOutQr;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Boolean getTangshi() {
        return tangshi;
    }

    public void setTangshi(Boolean tangshi) {
        this.tangshi = tangshi;
    }

    public Boolean getTakeout() {
        return takeout;
    }

    public void setTakeout(Boolean takeout) {
        this.takeout = takeout;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getPayFirst() {
        return payFirst;
    }

    public void setPayFirst(Boolean payFirst) {
        this.payFirst = payFirst;
    }

    public Boolean getOnlinePay() {
        return onlinePay;
    }

    public void setOnlinePay(Boolean onlinePay) {
        this.onlinePay = onlinePay;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("RunModuleScene{");
        sb.append("id=").append(id);
        sb.append(", name='").append(name).append('\'');
        sb.append(", payFirst=").append(payFirst);
        sb.append(", onlinePay=").append(onlinePay);
        sb.append(", enable=").append(enable);
        sb.append(", tangshi=").append(tangshi);
        sb.append(", takeout=").append(takeout);
        sb.append(", type=").append(type);
        sb.append(", totalTangShiQr=").append(totalTangShiQr);
        sb.append(", totalTakeOutQr=").append(totalTakeOutQr);
        sb.append('}');
        return sb.toString();
    }
}
